package com.adnaan.backend.service;

import java.time.LocalDate;
import java.util.Map;

public interface DashboardService {
    /**
     * 获取统计数据
     */
    Map<String, Object> getStatistics();

    /**
     * 获取订单趋势
     */
    Map<String, Object> getOrderTrend(LocalDate startDate, LocalDate endDate);

    /**
     * 获取用户活跃度
     */
    Map<String, Object> getUserActivity(LocalDate startDate, LocalDate endDate);

    /**
     * 获取识别记录统计
     */
    Map<String, Object> getRecognizeStats();

    /**
     * 获取文章统计数据
     */
    Map<String, Object> getArticleStats(String timeRange);
} 